package com.junpuxin.service;

import com.github.pagehelper.PageInfo;
import com.junpuxin.dto.*;
import com.junpuxin.entity.School;
import com.junpuxin.excel.SchoolExcel;
import com.junpuxin.vo.SchoolVO;

import java.util.List;

/**
 * @author junpuxin
 */

public interface SchoolService {

    int insert(SchoolInsertDTO dto);

    School select(Long id);

    List<SchoolVO> list();

    PageInfo<School> page(SchoolPageDTO dto);

    int update(SchoolUpdateDTO dto);

    int delete(Long id);

    int deleteBatch(List<Long> ids);

    List<SchoolExcel> getExcelData();
}
